<?php
       
$rule=array(
       'ENV' => 'global',                      //调试配置文件名
    'DEBUG' =>true,                             //是否显示详细错误信息
    'LOG_ON' => false,                           //错误日志记录，需要自己扩展appHook
    'LOG_PATH' => ROOT_PATH . 'data/log/',       //日志记录目录
    'TIMEZONE'=> 'PRC',                          //时间区域
	 'moren' => 'index',                       //默认首页访问模块
    'REWRITE_ON' => true,                       //伪静态开关，需要放入对应环境的伪静态规则

     'REWRITE_RULE' => array(
      'index.html'=>'index/index/index',
		'gift.html'=>'plug/gift/index',
        'gift-view-<id>.html'=>'plug/gift/view/id=<id>',
        'search-<key>.html'=>'plug/gift/search/key=<key>',
        'gift-page-<id>.html'=>'plug/gift/page/id=<id>',
        /************gift rule **************/
        'topiclist-<id>-<type>.html'=>'plug/gift/topiclist/id=<id>/type=<type>',
        'topic.html'=>'plug/gift/topic',
        'findgift.html'=>'plug/gift/findgift',
        'findgift-category-<id>.html'=>'plug/gift/findgift/id=<id>',
        'e_404.html'=>'plug/gift/e_404',
        'mylike.html'=>'plug/gift/mylike',
        'strategy.html'=>'plug/gift/strategy',
        'strategy-<id>-<type>.html'=>'plug/gift/strategy/id=<id>/type=<type>',
        'strategy-view-<id>-html'=>'plug/gift/strategy_view/id=<id>',
        'question.html'=>'plug/gift/question',
        'question-category-<id>.html'=>'plug/gift/question/id=<id>',
        'question-view-<id>.html'=>'plug/gift/questionview/id=<id>',
        'm-gift.html'=>'plug/mgift/index',
        'm-gift-strategy-view-<id>.html'=>'plug/mgift/strategy_view/id=<id>',
        'm-gift-find.html'=>'plug/mgift/find',
        'm-gift-find-category-<id>.html'=>'plug/mgift/find/id=<id>',
        'm-gift-findgiftlist-category-<id>.html'=>'plug/mgift/findgift/id=<id>',
        'm-gift-giftview-<id>.html'=>'plug/mgift/giftview/id=<id>',
        'm-gift-strategy.html'=>'plug/mgift/strategy',
        'm-gift-strategy-<id>-<type>.html'=>'plug/mgift/strategy/id=<id>/type=<type>',
        'm-gift-strategy-<id>.html'=>'plug/mgift/strategyview/id=<id>',
        'm-gift-ask.html'=>'plug/mgift/ask',
        'm-gift-ask-list-<id>.html'=>'plug/mgift/asklist/id=<id>',
        'm-gift-ask-view-<id>.html'=>'plug/mgift/askview/id=<id>',
        'm-searchindex.html'=>'plug/mgift/searchindex',
        'm-search-<key>.html'=>'plug/mgift/search/key=<key>',
		'gotb.html'=>'go/tb/itemiid',
		'goto.html'=>'go/to/url',
		 'china-list-<list>.html'=>'index/index/index/list=<list>',
        'china-mall-<mall>.html'=>'index/index/index/mall=<mall>',
        'china-<list>-<mall>.html'=>'index/index/index/list=<list>/mall=<mall>',
        'haitao.html'=>'index/haitao/index',
        'haitao-list-<list>.html'=>'index/haitao/index/list=<list>',
        'haitao-mall-<mall>.html'=>'index/haitao/index/mall=<mall>',
        'haitao-<list>-<mall>.html'=>'index/haitao/index/list=<list>/mall=<mall>',
        'rank.html'=>'index/rank/index',
        'rank-<time>.html'=>'index/rank/index/time=<time>',
        'cheaps.html'=>'index/cheaps/index',
        'cheaps-<id>.html'=>'index/cheaps/index/id=<id>',
        'view-<id>.html'=>'index/view/index/id=<id>',
        'so-<key>.html'=>'index/search/index/key=<key>',
		'so.html'=>'index/search/index',
        'hot.html'=>'index/hot/index',
        'boss.html'=>'index/boss/index',
		'page-<id>.html'=>'index/page/index/id=<id>',
        'go-<id>.html'=>'index/go/index',
        'm.html'=>'index/m/index',
        'm-view-<id>.html'=>'index/m/view/id=<id>',
        'm-search-<key>.html'=>'index/m/search/key=<key>'

    ),
      );
       